/**
 * @description:
 * @Author: wuzhenbin
 * @CreateTime: 2025/2/17
 */
public class leetcode_48 {
    public static void main(String[] args) {

    }
    public void rotate(int[][] matrix) {
        int row = matrix.length  ;
        int width = matrix[0].length;
        int[][] ints = new int[row][width];
        for (int i = 0; i < matrix.length; i++) {
            for (int j = 0; j < matrix.length; j++) {
                if (ints[i][j]==0)continue;
                else {
                    matrix[j][i]=matrix[i][j];
                    ints[i][j]=1;
                }
            }
        }
    }
}
